package com.netease.financial.base.share.action;

import android.content.Context;

import com.netease.financial.R;
import com.netease.financial.base.share.model.ShareHolder;
import com.netease.financial.base.share.helper.SinaWeiboHelper;

/**
 * Created by wyf on 6/24/15.
 */
public class ShareOnSinaWeiboAction extends BaseShareAction {


    @Override
    public int getIconResId() {
        return R.drawable.ic_share_action_sina_weibo;
    }

    @Override
    public int getLabelResId() {
        return R.string.share_action_sina_weibo;
    }

    @Override
    public boolean share(Context context, ShareHolder holder) {
        super.share(context, holder);
        return SinaWeiboHelper.createHelper(context).shareOnSinaWeibo(holder);
    }
}
